.class Lcom/example/m6wmr/AppsetActivity$3$1;
.super Ljava/lang/Object;
.source "AppsetActivity.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/AppsetActivity$3;->onClick(Landroid/view/View;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/example/m6wmr/AppsetActivity$3;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/AppsetActivity$3;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/AppsetActivity$3$1;->this$1:Lcom/example/m6wmr/AppsetActivity$3;

    .line 183
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 5
    .param p1, "dialog"    # Landroid/content/DialogInterface;
    .param p2, "whichButton"    # I

    .prologue
    const/4 v4, 0x0

    .line 186
    iget-object v1, p0, Lcom/example/m6wmr/AppsetActivity$3$1;->this$1:Lcom/example/m6wmr/AppsetActivity$3;

    # getter for: Lcom/example/m6wmr/AppsetActivity$3;->this$0:Lcom/example/m6wmr/AppsetActivity;
    invoke-static {v1}, Lcom/example/m6wmr/AppsetActivity$3;->access$0(Lcom/example/m6wmr/AppsetActivity$3;)Lcom/example/m6wmr/AppsetActivity;

    move-result-object v1

    # getter for: Lcom/example/m6wmr/AppsetActivity;->db:Landroid/database/sqlite/SQLiteDatabase;
    invoke-static {v1}, Lcom/example/m6wmr/AppsetActivity;->access$1(Lcom/example/m6wmr/AppsetActivity;)Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v1

    const-string v2, "area"

    const-string v3, "1"

    invoke-virtual {v1, v2, v3, v4}, Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I

    .line 187
    iget-object v1, p0, Lcom/example/m6wmr/AppsetActivity$3$1;->this$1:Lcom/example/m6wmr/AppsetActivity$3;

    # getter for: Lcom/example/m6wmr/AppsetActivity$3;->this$0:Lcom/example/m6wmr/AppsetActivity;
    invoke-static {v1}, Lcom/example/m6wmr/AppsetActivity$3;->access$0(Lcom/example/m6wmr/AppsetActivity$3;)Lcom/example/m6wmr/AppsetActivity;

    move-result-object v1

    # getter for: Lcom/example/m6wmr/AppsetActivity;->db:Landroid/database/sqlite/SQLiteDatabase;
    invoke-static {v1}, Lcom/example/m6wmr/AppsetActivity;->access$1(Lcom/example/m6wmr/AppsetActivity;)Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v1

    const-string v2, "address"

    const-string v3, "1"

    invoke-virtual {v1, v2, v3, v4}, Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I

    .line 188
    iget-object v1, p0, Lcom/example/m6wmr/AppsetActivity$3$1;->this$1:Lcom/example/m6wmr/AppsetActivity$3;

    # getter for: Lcom/example/m6wmr/AppsetActivity$3;->this$0:Lcom/example/m6wmr/AppsetActivity;
    invoke-static {v1}, Lcom/example/m6wmr/AppsetActivity$3;->access$0(Lcom/example/m6wmr/AppsetActivity$3;)Lcom/example/m6wmr/AppsetActivity;

    move-result-object v1

    # getter for: Lcom/example/m6wmr/AppsetActivity;->db:Landroid/database/sqlite/SQLiteDatabase;
    invoke-static {v1}, Lcom/example/m6wmr/AppsetActivity;->access$1(Lcom/example/m6wmr/AppsetActivity;)Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v1

    const-string v2, "collect"

    const-string v3, "1"

    invoke-virtual {v1, v2, v3, v4}, Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I

    .line 189
    iget-object v1, p0, Lcom/example/m6wmr/AppsetActivity$3$1;->this$1:Lcom/example/m6wmr/AppsetActivity$3;

    # getter for: Lcom/example/m6wmr/AppsetActivity$3;->this$0:Lcom/example/m6wmr/AppsetActivity;
    invoke-static {v1}, Lcom/example/m6wmr/AppsetActivity$3;->access$0(Lcom/example/m6wmr/AppsetActivity$3;)Lcom/example/m6wmr/AppsetActivity;

    move-result-object v1

    # getter for: Lcom/example/m6wmr/AppsetActivity;->db:Landroid/database/sqlite/SQLiteDatabase;
    invoke-static {v1}, Lcom/example/m6wmr/AppsetActivity;->access$1(Lcom/example/m6wmr/AppsetActivity;)Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v1

    const-string v2, "cart"

    const-string v3, "1"

    invoke-virtual {v1, v2, v3, v4}, Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I

    .line 190
    iget-object v1, p0, Lcom/example/m6wmr/AppsetActivity$3$1;->this$1:Lcom/example/m6wmr/AppsetActivity$3;

    # getter for: Lcom/example/m6wmr/AppsetActivity$3;->this$0:Lcom/example/m6wmr/AppsetActivity;
    invoke-static {v1}, Lcom/example/m6wmr/AppsetActivity$3;->access$0(Lcom/example/m6wmr/AppsetActivity$3;)Lcom/example/m6wmr/AppsetActivity;

    move-result-object v1

    # getter for: Lcom/example/m6wmr/AppsetActivity;->db:Landroid/database/sqlite/SQLiteDatabase;
    invoke-static {v1}, Lcom/example/m6wmr/AppsetActivity;->access$1(Lcom/example/m6wmr/AppsetActivity;)Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v1

    const-string v2, "shoptype"

    const-string v3, "1"

    invoke-virtual {v1, v2, v3, v4}, Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I

    .line 192
    iget-object v1, p0, Lcom/example/m6wmr/AppsetActivity$3$1;->this$1:Lcom/example/m6wmr/AppsetActivity$3;

    # getter for: Lcom/example/m6wmr/AppsetActivity$3;->this$0:Lcom/example/m6wmr/AppsetActivity;
    invoke-static {v1}, Lcom/example/m6wmr/AppsetActivity$3;->access$0(Lcom/example/m6wmr/AppsetActivity$3;)Lcom/example/m6wmr/AppsetActivity;

    move-result-object v1

    .line 193
    const-string v2, "buyInfo"

    const/4 v3, 0x0

    .line 192
    invoke-virtual {v1, v2, v3}, Lcom/example/m6wmr/AppsetActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v0

    .line 194
    .local v0, "userInfo":Landroid/content/SharedPreferences;
    invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    const-string v2, "total"

    const-string v3, "0"

    invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    invoke-interface {v1}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 195
    invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    const-string v2, "sumcartcost"

    const-string v3, "0"

    invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    .line 196
    invoke-interface {v1}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 197
    invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    const-string v2, "bag"

    const-string v3, "0"

    invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    invoke-interface {v1}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 204
    return-void
.end method
